const {
	Controller
} = require('uni-cloud-router')
const {
	utils:{suc,err,exc} = {},
	StockLogic,
	FundLogic,
	CodeEnum,
} = require("globalunit");
module.exports = class StockController extends Controller {
	async xxx() {
		//   const db = 	uniCloud.database()
		//   const $ = db.command.aggregate;
		//   const stockcoll =    db.collection("lg-stock-bases");
		// const res =  stockcoll.aggregate().project({
		//  _id:false,
		//   symbol:1,
		//  }).group({
		//   _id: 1,
		//   stock_list:$.push("$symbol")
		//  }).end(); 
		// return Stocklogic.refreshBatchOFBasesForStock();
		return FundLogic.addBaseInfoForFund();
	}
}
